﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Controller
{
    public delegate void CheckConnectionEventHandler(CheckConnectionEventArgs e);

    public class CheckConnectionEventArgs : EventArgs
    {
        public List<string> Result { private set; get; }
        
        public Exception exception { private set; get; }

        public bool ConectedWithAccessFile { set; get; }

        public CheckConnectionEventArgs()
        {

        }

        public CheckConnectionEventArgs(List<string> r) 
        {
            Result = r;
        }

        public CheckConnectionEventArgs(Exception ex)
        {
            exception = ex;
        }
    }
}
